﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/TemplateAdmin.Master" AutoEventWireup="true" CodeBehind="InsertNews.aspx.cs" Inherits="ProjectSem3.admin.WebForm11" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script src="ckeditor/ckeditor.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script language="javascript" type="text/javascript">
    $(document).ready(function () {
        $('#form1').validate({
            rules: {
                <%=TextBoxTitle.UniqueID %>: {
                    required: true
                }
            }
        });
    });
</script>
<div style="margin:15px 10px 10px 10px; ">
    <asp:Label ID="Label1" runat="server" Text="Title"></asp:Label>
    <asp:TextBox ID="TextBoxTitle" runat="server" style="width: 910px; height: 20px; font-size: 15px;"></asp:TextBox>
</div>
<div style="margin:5px 10px 10px 10px; ">
<CKEditor:CKEditorControl ID="CKEditor1" runat="server"></CKEditor:CKEditorControl>
</div>
<div style="margin:30px 0 0 440px;">
    <asp:Button ID="ButtonInsert" runat="server" Text="Insert" 
        onclick="ButtonInsert_Click" />
</div>
</asp:Content>

